import request from "@/utils/request";

export function createStatistics(day) {
  return request({
    url: `/admin/statistics/create/${day}`,
    method: "post"
  });
}

export function showData(searchObj) {
  return request({
    url: `/admin/statistics/showChart/${searchObj.begin}/${searchObj.end}`,
    method: 'get'
  })
}
